REM: Builds and creates classes under folder 'classes' 
REM: (has been tested with jdk 1.6 and 1.7 on windows)

set JDK_DIR=C:\Program Files\Java\jdk1.7.0\bin\
set PATH=%PATH%;%JDK_DIR%

REM: Remember current working directory 
set CUR_DIR=%CD%

cd ../..

javac -classpath "." -d "classes" org/codehaus/commons/compiler/*.java
javac -classpath "." -d "classes" org/codehaus/commons/compiler/samples/*.java 
javac -classpath "." -d "classes" org/codehaus/janino/*.java
javac -classpath "." -d "classes" org/codehaus/janino/samples/*.java
javac -classpath "." -d "classes" org/codehaus/janino/tools/*.java
javac -classpath "." -d "classes" org/codehaus/janino/util/*.java
javac -classpath "." -d "classes" org/codehaus/janino/util/enumerator/*.java
javac -classpath "." -d "classes" org/codehaus/janino/util/iterator/*.java
javac -classpath "." -d "classes" org/codehaus/janino/util/resource/*.java

cd %CUR_DIR%

